c76c0bf3a1b6cfe106cd4e52d29a1a1c067b79b7,bpmn-model/src/test/java/org/camunda/bpm/model/bpmn/BpmnDiTest.java,BpmnDiTest,parseModel,#,49

Before Change


    participant = (Participant) modelInstance.getModelElementById(PARTICIPANT_ID + 1);
    process = (Process) modelInstance.getModelElementById(PROCESS_ID + 1);
    serviceTask = (ServiceTask) modelInstance.getModelElementById(SERVICE_TASK_ID);
    exclusiveGateway = (ExclusiveGateway) modelInstance.getModelElementById(EXCLUSIVE_GATEWAY);
    startEvent = (StartEvent) modelInstance.getModelElementById(START_EVENT_ID + 2);
    sequenceFlow = (SequenceFlow) modelInstance.getModelElementById(SEQUENCE_FLOW_ID + 3);
    messageFlow = (MessageFlow) modelInstance.getModelElementById(MESSAGE_FLOW_ID);

After Change


    participant = modelInstance.getModelElementById(PARTICIPANT_ID + 1);
    process = modelInstance.getModelElementById(PROCESS_ID + 1);
    serviceTask = modelInstance.getModelElementById(SERVICE_TASK_ID);
    exclusiveGateway = modelInstance.getModelElementById(EXCLUSIVE_GATEWAY);
    startEvent = modelInstance.getModelElementById(START_EVENT_ID + 2);
    sequenceFlow = modelInstance.getModelElementById(SEQUENCE_FLOW_ID + 3);
    messageFlow = modelInstance.getModelElementById(MESSAGE_FLOW_ID);